<template>
    <div class="qualification">
        <!-- <mt-header :title="title">
            <router-link to="/" slot="left">
                <mt-button icon="back"></mt-button>
            </router-link>
        </mt-header> -->
        <ul class="content">
            <li v-for="p,i of qualificationData" :key="i" @click="goimgs(p)">{{p.name}}</li>
        </ul>
    </div>
</template>

<script>
export default {
    data(){
        return{
            title:'塞罕云资质',
            qualificationData:'',

        }
    },
    mounted(){
        this.getqualificationData()
    },
    methods:{
        // 获取资质列表
        getqualificationData(){
            this.axios.get('/operate/sys/Certificate/list').then(res=>{
                this.qualificationData=res.data.List
                console.log('this.qualificationData',this.qualificationData)
                // str.indexOf("3") != -1
            })
        },
        //去图片页
        goimgs(item){
            this.$router.push({path:'/picture',query:{item:item}})
        },
    },
    watch:{
        
    }
}
</script>

<style scoped>
.qualification{
    background: #f7f7f8;
    min-height: 100vh;
}
.content{
    margin-top: .15rem;
}
.content li{
    color: #555;
    background: #fff;
    height: .9rem;
    line-height: .9rem;
    padding:0 .23rem;
    border-bottom: 1px solid #eee;
}
</style>